package cn.stylefeng.guns.modular.business.entity;

import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 课程数据实例类
 *
 * @author zhangyaowen
 * @date 2021/08/18 14:09
 */
@TableName("sub_class_info")
@Data
@EqualsAndHashCode(callSuper = true)
public class SubClassInfo extends BaseEntity {

    /**
     * 课程id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 课程名称
     */
    @ApiModelProperty("课程名称")
    @TableField("class_name")
    private String className;

    /**
     * 简介
     */
    @ApiModelProperty("简介")
    @TableField("class_introduction")
    private String classIntroduction;

    /**
     * 主讲人
     */
    @ApiModelProperty("主讲人")
    @TableField("class_speaker")
    private String classSpeaker;

    /**
     * 主讲人简介
     */
    @ApiModelProperty("主讲人简介")
    @TableField("speaker_introduction")
    private String speakerIntroduction;

    /**
     * 来源
     */
    @ApiModelProperty("来源")
    @TableField("class_from")
    private String classFrom;

    /**
     * 时间
     */
    @ApiModelProperty("时间")
    @TableField("class_time")
    private String classTime;

    /**
     * 课程列表
     */
    @ApiModelProperty("课程列表")
    @TableField("class_listname")
    private String classListname;

}